PrestoPlayer\Support\Block B

Total Complexity 84
Dependencies 10
Dependents 1
Total lines 602
Lines of code 287
Logical lines of code 140
Comment lines 147
Methods 22
Properties 8

Methods 22

Method Rating Maintainability Complexity Lines of code
_sanitizeAttibutes()
B
40 16 54
getFeedHtml()
A
51 10 28
getPlayerStyles()
A
47 9 35
html()
A
47 9 33
initComponentScript()
S
57 4 18
getPlayerClasses()
S
57 4 16
getBranding()
S
66 5 7
getPreset()
S
59 4 14
getClasses()
S
73 3 4
getAudioPreset()
S
65 3 8
middleware()
S
68 3 8
isHls()
S
73 2 4
iframeFallback()
S
72 2 5
getFallbackHTMLForUnauthorizeAccess()
S
64 2 10
getCSS()
S
67 1 9
register()
S
82 1 3
overrideAttributes()
S
79 1 3
sanitizeAttributes()
S
82 1 3
getAttributes()
S
80 1 3
registerBlockType()
S
66 1 9
additionalAttributes()
S
82 1 3
__construct()
S
65 1 10